﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LoA.Shared.Physics {
	public static class Physics {
		/// <summary>
		/// Stała grawitacji ( 6.67384(80) x 10^-11 m^3 / (kg * s^2) )
		/// </summary>
		public static float Gravitational_constant { get { return G; } }
		/// <summary>
		/// Gravitational constant ( 6.67384(80) x 10^-11 m^3 / (kg * s^2) )
		/// </summary>
		public const float G = 0.000000000066738480f;

		/// <summary>
		/// Przyśpieszenie ziemskie ( 9.80665 m / s^2 )
		/// </summary>
		public static float Gravitational_acceleration { get { return Gn; } }
		/// <summary>
		/// Gravitational acceleration ( 9.80665 m / s^2 )
		/// </summary>
		public const float Gn = 9.80665f;

		/// <summary>
		/// Prędkość światła ( 299 792 458 m/s )
		/// </summary>
		public static float Speed_of_light { get { return c; } }
		/// <summary>
		/// Speed of light ( 299 792 458 m/s )
		/// </summary>
		public const float c = 299792458.0f;

		/// <summary>
		/// Jednostka czasu (Sekunda)
		/// </summary>
		public static float Second { get { return s; } }
		/// <summary>
		/// 
		/// </summary>
		public const float s = 1.0f;

		/// <summary>
		/// Jednostka długości (Metr)
		/// </summary>
		public static float Meter { get { return kg; } }
		/// <summary>
		/// 
		/// </summary>
		public const float m = 1.0f;

		/// <summary>
		/// Jednostka wagi (Kilogram)
		/// </summary>
		public static float Kilogram { get { return kg; } }
		/// <summary>
		/// 
		/// </summary>
		public const float kg = 1.0f;

		/// <summary>
		/// Masa ziemi (Kg)
		/// </summary>
		public static double EarthMass { get { return Mz; } }
		/// <summary>
		/// 
		/// </summary>
		public const double Mz = 5973600000000000000000000.0;

		/// <summary>
		/// Promień ziemi (Metr)
		/// </summary>
		public static float EarthRadius { get { return Rz; } }
		/// <summary>
		/// 
		/// </summary>
		public const float Rz = 6373140.0f;

	}
}
